@import "reset.scss";



.wrap{
    width: 100%;

    .title{
        width: 100%;
        background-color: #222222;
        color: #fff;
        font-size: 12px;
        line-height: 36px;

        .container{
            @include container();
            overflow: hidden;
            .title-left{
                float: left;
                height: 40px;
                line-height: 40px;

                a{
                    color: rgb(176,176,176);
                    display: inline-block;
                }
                &>a:hover{
                    color: #fff;
                }
                .sep{
                    color: rgb(66,66,66);
                    margin: 0px 0.3em;
                }
            }
            .title-cart{
                float: right;
                width: 120px;
                height: 40px;
                margin-left: 15px;
                font-size: 12px;
                transition: all .2s;
                color: #b0b0b0;
                background-color: #424242;
                text-align: center;

                .iconfont-cart{
                    margin-right: 4px;
                    line-height: 20px;
                    vertical-align: -4px;
                }
                .cart-hide{
                    color: #b0b0b0;
                }
            }
            .title-right{
                float: right;
                // margin-right: 52px;
                line-height: 40px;
                color: #b0b0b0;


                .sep{
                    color: rgb(66,66,66);
                    margin: 0px 0.3em;
                }
                &>a:hover{
                    color: #fff
                }
            }
        }
    }
    .topBar{
        height: 100px;
        position: relative;

        .container{
            @include container();
            align-items: center;
            .logo{
                float: left;
                width: 62px;
                margin-top: 22px;

                .logo_ir{
                    position: relative;
                    display: block;
                    width: 56px;
                    height: 56px;
                    background: url(http://localhost/2108_php/xmsc/images/logo-mi2.png) no-repeat;
                    background-size: 56px;
                    transform: translateZ(0);
                }
            }
            .header-nav{
                float: left;
                width: 850px;
                color: #333;

                .nav-list{
                    position: relative;
                    float: left;
                    height: 88px;
                    padding: 12px 0 0 30px;
                    font-size: 16px;

                    .nav-category{
                        width: 127px;
                        float: left;
                        padding-right: 15px;
                    }
                    li{
                        float: left;

                        a{
                            display: block;
                            padding: 26px 10px 38px;
                        }
                    }
                }
            }
            .header-search{
                float: right;
                width: 296px;
                margin-top: 25px;

                .search-box{
                    position: relative;
                    width: 296px;
                    height: 50px;
                    border: 1px solid #e0e0e0;
                    display: flex;

                    input{
                        border: none;
                        width: 223px;
                        height: 48px;
                        padding: 0 10px;
                        font-size: 14px;
                        line-height: 48px;
                    }
                    .iconfont-search{
                        flex: 1;
                        font-size: 30px;
                        text-align: center;
                        line-height: 48px;
                        border-left: 1px solid #e0e0e0;
                    }
                }
            }
        }
    }
}